﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class TinRaoVatDTO
    {
        private int _maTinRaoVat;

        public int MaTinRaoVat
        {
            get { return _maTinRaoVat; }
            set { _maTinRaoVat = value; }
        }

        private string _tenTinRaoVat;

        public string TenTinRaoVat
        {
            get { return _tenTinRaoVat; }
            set { _tenTinRaoVat = value; }
        }
        private string _thumbnail;

        public string Thumbnail
        {
            get { return _thumbnail; }
            set { _thumbnail = value; }
        }

        private int _giaTien;

        public int GiaTien
        {
            get { return _giaTien; }
            set { _giaTien = value; }
        }

        private string _noiDungTinRaoVat;

        public string NoiDungTinRaoVat
        {
            get { return _noiDungTinRaoVat; }
            set { _noiDungTinRaoVat = value; }
        }
        private DateTime _thoiGianDang;

        public DateTime ThoiGianDang
        {
            get { return _thoiGianDang; }
            set { _thoiGianDang = value; }
        }

         private int _soLanXem;

        public int SoLanXem
        {
            get { return _soLanXem; }
            set { _soLanXem = value; }
        }

        private int _maDiaDiem;

        public int MaDiaDiem
        {
            get { return _maDiaDiem; }
            set { _maDiaDiem = value; }
        }
        private int _maNguoiDung;

        public int MaNguoiDung
        {
            get { return _maNguoiDung; }
            set { _maNguoiDung = value; }
        }

         private int _maDanhMucCon;

        public int MaDanhMucCon
        {
            get { return _maDanhMucCon; }
            set { _maDanhMucCon = value; }
        }

        private int _maNgonNgu;

        public int MaNgonNgu
        {
            get { return _maNgonNgu; }
            set { _maNgonNgu = value; }
        }

        private DateTime _thoiGianUp;

        public DateTime ThoiGianUp
        {
            get { return _thoiGianUp; }
            set { _thoiGianUp = value; }
        }

        private int _deleted;

        public int Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        public TinRaoVatDTO()
        {

        }

        public TinRaoVatDTO(int _MaTinRaoVat, string _TenTinRaoVat, string _Thumbnail, int _GiaTien, string _NoiDungTinRaoVat, DateTime _ThoiGianDang
            , int _SoLanXem, int _MaDiaDiem, int _MaNguoiDung, int _MaDanhMucCon, int _MaNgonNgu, DateTime _ThoiGianUp, int _Del)
        {
            this._maTinRaoVat = _MaTinRaoVat;
            this._tenTinRaoVat = _TenTinRaoVat;
            this._thumbnail = _Thumbnail;
            this._giaTien = _GiaTien;
            this._noiDungTinRaoVat = _NoiDungTinRaoVat;
            this._thoiGianDang = _ThoiGianDang;
            this._soLanXem = _SoLanXem;
            this._maDiaDiem = _MaDiaDiem;
            this._maNguoiDung = _MaNguoiDung;
            this._maDanhMucCon = _MaDanhMucCon;
            this._maNgonNgu = _MaNgonNgu;
            this._thoiGianUp = _ThoiGianUp;
            this._deleted = _Del;
            // chua lay kieu bit
        }
    }
}
